#include "SubMesh.h"

void SubMesh::addTriangle(TRIANGLE* t)
{
	mTriangles.push_back(t);
}

TriangleIter SubMesh::getTriangleStartIter()
{
	return mTriangles.begin();
}

TriangleIter SubMesh::getTriangleEndIter()
{
	return mTriangles.end();
}

unsigned int SubMesh::getTextureId()
{
	return mTextureId;
}

void SubMesh::setTextureId(unsigned int tId)
{
	mTextureId = tId;
}